function t_throttle(i,r,n){var a,c;return r=r||250,function(){var e=n||this,t=+new Date,o=arguments;a&&te/2){var r=1-(Math.abs(_vrect.top)-e/2)/(e/2)-.2;0e||0==_vrect.height?this.pauseVideo(t,this.videoConfigs[o]):t.paused&&t.play()}},e.prototype.getVideoObject=function(e){for(var t=0,o=this.videoTags.length;othis.itemTransitionTop){a=c;break}if(null!=a){1<(i=r.top/this.itemTransitionTop)?i=1:i<0&&(i=0);for(c=0,s=n.length;ci.height-e.sequenceHeight-100?this.processSequence(e):this.stopSequence(e)}},e.prototype.setScrollCb=function(){this._scrollCb=jQuery.proxy(this.scrollCb,this),_(window).bind("scroll",t_throttle(this._scrollCb,200))},window.sequenceController=new e,window.processVideo=function(e){mp4Src=_(e).attr("data-content-video-url-mp4"),webmSrc=_(e).attr("data-content-video-url-webm"),_(e).css("background-color","transparent"),_(e).css("background-image","");var t={mp4:mp4Src,webm:webmSrc,preload:"none",autoplay:!1,loop:!0,scale:!0,zIndex:0,width:"100%"};vid=_(e).videoBG(t),videoLoadProcessor.registerNewVideo(vid,{isNeedStop:!1})},window.cover_init=function(x){_(document).ready(function(){var i=document.body.querySelector("#coverCarry"+x),r=_(i),e=r.attr("data-content-cover-bg"),n=r.attr("data-content-cover-height"),a=r.attr("data-content-cover-parallax"),c=r.attr("data-content-video-url-mp4"),s=r.attr("data-content-video-url-webm"),t=r.attr("data-content-video-url-youtube"),o=r.attr("data-content-video-noloop"),d=r.attr("data-content-video-nomute"),l=r.attr("data-content-bg-base64"),p=r.attr("data-content-video-nocover");e=e||"",n=n||"",a=a||"",c=c||"",s=s||"",o=o||"",d=d||"",t=(t=t||"")||"",l=l||"",p&&"yes"==p&&(t=s=c=""),!$isMobile||""==s&&""==c&&""==t||r.css("background-image","url('"+e+"')"),setTimeout(function(){T(x)},500);var u=_("#rec"+x).find("img[data-hook-clogo]");if(u.length&&u.load(function(){setTimeout(function(){T(x)},500)}),$isMobile&&_(window).on("orientationchange",function(){T(x)}),(""!==c||""!==s||""!==t)&&0==$isMobile)if(""!=t||""==c&&""==s){if(""!=t){r.css("background-color","#000000"),r.css("background-image",""),r.attr("data-content-cover-bg","");w=0;(g=_(window)).scroll(function(){m&&window.clearTimeout(m),m=window.setTimeout(function(){var e,t,o;0<(w=r.find("iframe").length)||(e=r.offset().top,t=r.height(),e-500<(o=g.scrollTop())+g.height()&&o<=e+t+500&&processYoutubeVideo(i,n))},100)}),g.scroll()}}else{if(r.css("background-color","#000000"),r.css("background-image","url('https://tilda.ws/img/spinner-white.gif')"),r.css("background-size","auto"),r.attr("data-content-cover-bg",""),""!=o)var h=!1;else h=!0;if(""!=d)var f=1;else f="";var m,v="";"fixed"==a&&(-1_(window).height()&&(r.css("height","100vh"),v="yes"));var w="",g=_(window),y=r.parent();g.scroll(function(){var e,t,o;m&&window.clearTimeout(m),m=window.setTimeout(function(){var e,t,o;if(!(0").attr("src",e).load(function(){_(this).remove(),r.css("background-image","url('"+e+"')"),r.css("opacity","1")}),r.css("background-image",""),r.css("opacity","0"),r.css("transition","opacity 25ms")}var b=_("#rec"+x).find(".t-cover__arrow-wrapper");0b?r(this).addClass("r_hidden"):r(this).addClass("r_showed"),r(this).addClass("r_anim")}),i.bind("scroll",t_throttle(e,200)),e()}r("body").height()+70e.aspectRatio)e.width(o).height("auto"),(t=(e.height()-i)/2)<0&&(t=0),e.css("top",-t);else if(e.width("auto").height(i),(t=(e.width()-o)/2)<0&&(t=0),e.css("left",-t),0===t)setTimeout(function(){y.fn.videoBG.setFullscreen(e)},500);y("body > .videoBG_wrapper").width(o).height(i)},y.fn.videoBG.video=function(e){var t=y("
");t.addClass("videoBG").css("position",e.position).css("z-index",e.zIndex).css("top",0).css("left",0).css("height",e.height).css("width",e.width).css("opacity",e.opacity).css("overflow","hidden");var o,i=y("